package com.server.modules.api.dao;

import com.server.common.persistence.annotation.MyBatisDao;
import com.server.modules.api.vo.MemberVo;
import com.server.modules.sys.dao.tag.TagDao;
import com.server.modules.sys.entity.loan.Loan;
import com.server.modules.sys.entity.member.Member;
import com.server.modules.sys.entity.tag.Tag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2016/9/2.
 */
@MyBatisDao
public interface TagAPIDao {
    public List<Tag> selectTagsByLoan(@Param("loan") Loan loan);
    public List<Tag> selectTagsByMember(Member member);
    public List<Tag> selectAllTags();
    public int deleteByMemberId(String memberId);
    public int updateMemberTags(MemberVo memberVo);
}
